package cc.SSM.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.servlet.http.HttpServletRequest;

/**
 * Created by zhonglin on 2017/2/25.
 */
@Controller
@RequestMapping("/test")
public class TestController {

    @RequestMapping("/html.php")
    public String test(Model model, HttpServletRequest httpServletRequest){
        model.addAttribute("result","dededede");
        return "hello";
    }
}
